<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Alias of xdiff_string_bdiff</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.xdiff-string-diff-binary" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">xdiff_string_diff_binary</h1>
  <p class="verinfo">(PECL xdiff &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">xdiff_string_diff_binary</span> &mdash; <span class="dc-title">Alias of xdiff_string_bdiff</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.xdiff-string-diff-binary-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><a href="xdiff_string_bdiff.html" class="methodname">xdiff_string_bdiff</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$old_data</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$new_data</code></span>
   ) : <span class="type">string</span></div>

  <p class="para rdfs-comment">
   Makes a binary diff of two strings and returns the result.
   This function works with both text and binary data. Resulting patch
   can be later applied using <span class="function"><a href="xdiff_string_bpatch.html" class="function">xdiff_string_bpatch()</a></span>/<span class="function"><a href="xdiff_file_bpatch.html" class="function">xdiff_file_bpatch()</a></span>.
  </p>
  <p class="para">
   Starting with version 1.5.0 this function is an alias of <span class="function"><a href="xdiff_string_bdiff.html" class="function">xdiff_string_bdiff()</a></span>.
  </p>  
 </div>


 <div class="refsect1 parameters" id="refsect1-function.xdiff-string-diff-binary-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">old_data</code></dt>

     <dd>

      <p class="para">
       First string with binary data. It acts as &quot;old&quot; data.
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">new_data</code></dt>

     <dd>

      <p class="para">
       Second string with binary data. It acts as &quot;new&quot; data.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xdiff-string-diff-binary-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns string with result or <strong><code>FALSE</code></strong> if an internal error happened.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.xdiff-string-diff-binary-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="xdiff_string_bdiff.html" class="function" rel="rdfs-seeAlso">xdiff_string_bdiff()</a> - Make binary diff of two strings</span></li>
    <li class="member"><span class="function"><a href="xdiff_string_bpatch.html" class="function" rel="rdfs-seeAlso">xdiff_string_bpatch()</a> - Patch a string with a binary diff</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>